package com.atguigu.gmall.feign.ware;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

//https://www.sogou.com/tx?query=%E5%93%88%E5%93%88
@FeignClient(value = "sougou",url = "https://www.sogou.com")
public interface SougoFeignClient {

    @GetMapping("/tx")
    String sousuo(@RequestParam("query") String keyword);

}
